.container {
	/* position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	background-color: #f5f6fa; */
}

svg {
	width: 100%;
	height: 100%;
	background-color: #f0f3f7;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
	background-size: 20px 20px;
}

markerIcon {
	width: 20px;
	height: 20px;
	z-index: 3;
}

.point-circle {
	/* fill: transparent; */
	fill: white;
	border: 1px solid gray;
}

.info-card {
	position: fixed;
	min-width: 500px;
	z-index: 1000;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	user-select: none;
	/* 防止拖动时选中文字 */
	transition: box-shadow 0.2s;
}

.info-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.action-group {
	display: flex;
	justify-content: space-around;
	gap: 12px;
	align-items: center;
	height: 100px;
}

.set-buttons {
	margin-top: 15px;
	display: flex;
	gap: 10px;
	justify-content: center;
}

.selected-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 8px;
	background: #f8f9fa;
	border-radius: 4px;
}

.current-point {
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.highlight-button {
	order: -1;
	/* 确保主要按钮在最前面 */
}

.header {
	padding: 12px 15px;
	background: #f8f9fa;
	border-radius: 8px 8px 0 0;
	cursor: move;
	border-bottom: 1px solid #eee;
}

.header h3 {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.content {
	padding: 15px;
}

.content p {
	margin: 8px 0;
	font-size: 13px;
	color: #444;
}

.info-card h3 {
	margin: 0 0 10px 0;
	color: #2c3e50;
	font-size: 16px;
}

.info-card p {
	margin: 5px 0;
	color: #666;
	font-size: 14px;
}

.point-group {
	cursor: pointer;
	transition: transform 0.2s;
}

.point-icon {
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.point-icon.active {
	filter:
		drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) brightness(1.2);
}

.point-label {
	font-size: 12px;
	fill: #333;
	user-select: none;
	font-weight: 500;
	paint-order: stroke;
	stroke: white;
	stroke-width: 2px;
}

.control-panel {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 1000;
	display: flex;
	gap: 12px;
}

.status-tags {
	margin: 12px 0;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.el-tag {
	border-radius: 16px;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.action-buttons {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 16px;
}

.el-button {
	padding: 12px;
	border-radius: 8px;
	transition: all 0.3s;
}

.el-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.selected-info {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.selected-info div {
	margin: 5px 0;
	color: #666;
}

.selected-info label {
	font-weight: bold;
	color: #333;
}

.cancel-button {
	animation: shake 0.5s ease-in-out;
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-3px);
	}

	50% {
		transform: translateX(3px);
	}

	75% {
		transform: translateX(-2px);
	}

	100% {
		transform: translateX(0);
	}
}

/* 调整原有按钮间距 */
.highlight-button {
	margin-right: 12px;
}

/* 加载状态样式 */
.el-button[disabled] {
	opacity: 0.7;
	cursor: not-allowed;
}

.start-point {
	fill: rgba(76, 175, 80, 0.3);
	animation: pulse-start 1.5s infinite;
}

.end-point {
	fill: rgba(244, 67, 54, 0.3);
	animation: pulse-end 1.5s infinite;
}

@keyframes pulse-start {
	0% {
		r: 15;
		opacity: 0.8;
	}

	70% {
		r: 30;
		opacity: 0.2;
	}

	100% {
		r: 15;
		opacity: 0.8;
	}
}

@keyframes pulse-end {
	0% {
		r: 15;
		opacity: 0.8;
	}

	70% {
		r: 30;
		opacity: 0.2;
	}

	100% {
		r: 15;
		opacity: 0.8;
	}
}